package com.gugee.ins.data.collector.blogger.service;

import com.gugee.ins.data.common.msg.InsBloggerMessage;

import java.util.List;

/**
 * InsBloggerService
 * @author Huangxin
 */
public interface InsBloggerCollectService {
    /**
     * 处理insBlogger收入任务
     * @param insBloggerMessages
     */
    void handleInsBloggerCollect(List<InsBloggerMessage> insBloggerMessages);


    /**
     * 发送博主收录的消息
     * @param uid
     * @param userName
     * @param picUrl
     */
    void sendCollectBloggerMsg(long uid,String userName,String picUrl,boolean isPrivate);

    /**
     * 删除采集队列的redis key
     * @param uid
     * @return
     */
    void deleteInsBloggerCollectRedisKey(long uid);

    /**
     * 判断是否需要采集
     * @param uid
     * @return
     */
    boolean checkCollecting(long uid);
}
